package com.gxa.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Patient implements Serializable {

    private static final long serialVersionUID = -8685666271478798483L;
    //id
    private Integer id;

    //姓名
    private String name;
    //性别
    private Integer sex;
    //年龄
    private Integer age;
    //病龄
    private Integer diseaseYear;
    //用户名
    private String username;
    //密码
    private String password;
    //联系电话
    private String phone;
    //地址
    private String address;
    //权限Id
    private Integer powerId;
    //医生Id
    private Integer doctorId;
    //账户
    private Integer acount;
    //盐
    private String salt;
    //医院Id
    private int hospitalId;
    //url  头像路径
    private String url;
    //病情阶段
    private Integer stage;
    //体重
    private Integer weight;
    //病历填写程度
    private String schedule;

    //医生信息
    private Doctor doctor;

    //医院信息
    private Hospital hospital;


}